Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NExportMediaDocument<TContent> Class / ExportVisual Method


In This Topic
    ExportVisual Method
    In This Topic
    Renders the specified visual in the specified graphics. The export is clipped to visualRect, which is a rect in the visual element coordinate system.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub ExportVisual( _
       ByVal graphics As NGraphics2D, _
       ByVal visual As NVisual, _
       ByVal visualRect As NRectangle _
    ) 
    'Usage
     
    
    Dim instance As NExportMediaDocument(Of TContent)
    Dim graphics As NGraphics2D
    Dim visual As NVisual
    Dim visualRect As NRectangle
     
    instance.ExportVisual(graphics, visual, visualRect)
    protected virtual void ExportVisual( 
       NGraphics2D graphics,
       NVisual visual,
       NRectangle visualRect
    )

    Parameters

    graphics
    visual
    visualRect
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also